--- categories: Algorithm techniques, Graph algorithms --- ## Problems - [Count on a tree II](http://www.spoj.com/problems/COT2/) ## See also - [Mo's algorithm](Mo's algorithm) ## External links - [Mo's Algorithm on Trees [Tutorial]](http://codeforces.com/blog/entry/43230)